圣杯布局 
html
<style>
  .container {
    width: 100vw;
    display: flex;
  }
  .main {
    background: red;
    flex-grow: 1;
    order: 2;
  }
  .left {
    background: #000;
    width: 200px;
    order: 1;
  }
  .right {
    background: blue;
    width: 200px;
    order: 3;
  }
</style>
<div class="container">
  <div class="main"></div>
  <div class="left"></div>
  <div class="right"></div>
</div>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26